package com.ai.bitcoin.jpa.dao;

import com.ai.bitcoin.jpa.entity.BccSubPackage;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BccSubPackageDao extends JpaRepository<BccSubPackage, String> {

    List<BccSubPackage> findByTypeAndStatusOrderByOrderNoAsc(Integer type, Integer status);

    BccSubPackage findBySymbolAndStatus(String symbol, Integer status);

}
